from Get_Qwen import Get_Qwen

def test_api():
    qwen = Get_Qwen()
    info = {
        "身高": "170cm",
        "体重": "65kg",
        "性别":"男",
        "运动频率": "3次/周",
        "饮食偏好": "均衡饮食"
    }
    try:
        result = qwen.get_api(info)
        print("分析结果：")
        print(result)
    except Exception as e:
        print(f"调用出错：{str(e)}")

if __name__ == "__main__":
    test_api()